package com.alks.function.data.request.biocontrol.webwork;

import com.alks.entity.data.page.PageParam;
import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author MS
 * @since 2024/10/7上午11:55
 */
@Data
public class MoldProgtTempRequest extends PageParam {

    @ApiModelProperty(value = "客户")
    private String brand;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @ApiModelProperty(value = "生产线")
    private List<String> lineList;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "交期日期起")
    private LocalDateTime deliveryDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "交期日期止")
    private LocalDateTime deliveryDateEnd;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "开始日期")
    private LocalDateTime beginDate;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "结束日期")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "指令类型(1.待排 2.交期延误 3全部未完工)")
    private Integer lotType;

    @ApiModelProperty(value = "库存情况(1.配套库存>待排数 2.鞋面库存>待排数 3.大底库存>待排数)")
    private Integer stkType;

    @ApiModelProperty(value = "排序字段")
    private String ordField;

    @ApiModelProperty(value = "排序方式(0.倒序，1.正序)")
    private Integer ordType;

}
